package com.coocaa.ops.admin.v1.audit.enums;

/**
 * @author bijiahao
 * @date : 2017/12/22.
 * @description执行审核后， 返回值枚举
 */
public enum AuditReturnValEnums {
    /**
     * 审核枚举
     */
    AUDIT_SUCCESS(4, "Reviewed successfully"),
    AUDIT_NOT_PASS(5, "Review not passed"),
    AUDIT_TIMED_TASK_NOT_EXSIST(8, "There is no corresponding record in the timed task"),
    AUDIT_TIMED_TASK_HAS_EXPIRED(9, "The time has expired"),
    AUDIT_TIMED_TASK_READY_TO_EXEC(7, "Timing time to be executed"),
    AUDIT_FAIL(0, "There is no corresponding record in the review task. Please resubmit for review and try again!");
    private final int code;
    private final String desc;

    AuditReturnValEnums(final int code, final String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
